<script setup>
defineProps({
  title: String,
  text: String
})
</script>

<template>
  <div class="section">
    <div class="section-title">
      <div class="line"></div>
      <div style="font-size: 16px">{{ title }}</div>
    </div>
    <div class="content">{{ text }}</div>
  </div>
</template>

<style lang="scss" scoped>
.section {
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding: 10px;
  margin-bottom: 10px;
  &-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222222;
    font-weight: bold;
    .line {
      width: 4px;
      height: 15px;
      border-radius: 2px;
      background-color: #39c5bb;
    }
  }
  .content{
    font-size: 14px;
    color: #444;
    line-height: 20px;
    padding-left: 15px;
  }
}
</style>